package com.example.springioc.demo3.controller;

import com.example.springioc.demo3.service.D3UserService1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-11-18
 * Time: 12:30
 */
@Controller
public class D3UserController1 {
    @Autowired
    private D3UserService1 d3UserService1;

    public void sayHi(){
        System.out.println("hi,UserController");
        d3UserService1.sayHi();
    }
}
